package cn.edu.xcu.ckl.api;

public class ApiConstants {

    public final static String BASE_URL = "http://10.204.230.52:8080";


    //注册
    public final static String REGISTER_URL = BASE_URL + "/user/register";

    //登录
    public final static String LOGIN_URL = BASE_URL + "/user/login";

    //修改密码
    public final static String EDIT_URL = BASE_URL + "/user/edit";


    //获取商品列表
    public final static String QUERY_PRODUCT_LIST_URL = BASE_URL + "/user/queryProductList";


    //添加购物车
    public final static String ADD_CAR_URL = BASE_URL + "/user/addCar";


    //减购购物车
    public final static String SUB_TRACT_CAR_URL = BASE_URL + "/user/subTractCar";


    //根据用户名查询购物车
    public final static String QUERY_CAR_BY_USERNAME_URL = BASE_URL + "/user/queryCarByUsername";

    //删除购物车
    public final static String DEL_CAR_BY_ID_URL = BASE_URL + "/user/delCarById";


    //查询用户订单
    public final static String QUERY_ORDER_BY_USERNAME_URL = BASE_URL + "/user/queryOrderByUsername";


    //创建订单  createOrder
    public final static String CREATE_ORDER_URL = BASE_URL + "/user/createOrder";

    //批量删除购物车
    public final static String CLEAR_CAR_BY_USERNAME_URL = BASE_URL + "/user/clearCarByUsername";


    //删出订单
    public final static String DEL_ORDER_BY_ID_URL = BASE_URL + "/user/delOrderById";


    //查询商品分类
    public final static String QUERY_PRODUCT_TYPE_LIST_URL = BASE_URL + "/user/queryProductTypeList";
}
